package com.lzh.mapper;

import com.lzh.bean.Dict;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DictMapper {
    int saveDict(Dict dict);

    List<Map> query(int pid);

    int update(Dict dict);

    int delete(int id);

    int deleteByCode(String code);
}
